package StudentManager;

public class Student {
    private String std_ID;
    private String std_name;
    private String std_age;
    private String std_address;

    public  Student(){}   //无参构造函数
    public Student(String ID,String name,String age,String address){   //含参构造函数
        this.std_ID = ID;
        this.std_name = name;
        this.std_age = age;
        this.std_address = address;
    }
    public void setName(String name){    // 设置/修改姓名
        this.std_name = name;
    }
    public void setAge(String age){      //  设置/修改年龄
        this.std_age = age;
    }
    public void setAddress(String address){   //  设置/修改地址
        this.std_address = address;
    }
    public String getID(){
        return this.std_ID;
    }
    public String getName(){
        return this.std_name;
    }
    public String getAge(){
        return this.std_age;
    }

    public String getAddress(){
        return this.std_address;
    }
}
